/**北部*/
Ext.define("core.app.view.TopView", {
    extend: "Ext.panel.Panel",
    alias: 'widget.topview',
    id: "topView",
    height: 60,
    bodyStyle: {
        background: '#7598e0',
        padding: '80px'
    },
    layout: "absolute",
    items: [{
        x: 100,
        y: 0,
        width: 700,
        bodyStyle: {
            background: '#7598e0',
            border: 0,
            padding: '10px'
        },
        html: "<h1><font color=white size=6>欢迎使用dubbo无基础demo-用户管理系统&nbsp;&nbsp;&nbsp;&nbsp;</font></h1>"
    }, {
        x: 800,
        y: 30,
        ref: "logininfo",
        xtype: "displayfield",
        id: "displaylogin",
        value: "<font color=white  size='4'  face='微软雅黑,Arial, Helvetica'>&nbsp;欢迎管理员：</font><font color=red size='4' face='微软雅黑,Arial, Helvetica'>" + nickName + "</font>&nbsp;&nbsp;&nbsp;&nbsp;"
    }, {
        x: 1100,
        y: 35,
        xtype: "button",
        ref: "logout",
        text: "注 销 系 统"
    }]
});
